package jmu.edu.yjc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jmu.edu.yjc.domain.ResponseResult;
import jmu.edu.yjc.domain.entity.Comment;


/**
 * 评论表(Comment)表服务接口
 *
 * @author makejava
 * @since 2023-04-14 00:53:01
 */
public interface CommentService extends IService<Comment> {

    ResponseResult getRootList(Integer pageNum, Integer pageSize, Long aid);

    ResponseResult addRootComment(Comment comment);

    ResponseResult getRootCommentMore(Integer commentNum, Integer commentSize,Long aid, Long rootCommentId);

    ResponseResult addComment(Comment comment);

    ResponseResult deleteChildrenComment(Long id);
}

